<?php

class threehive extends BlogScraper
{
    function __construct()
    {
        parent::__construct('threehive');
    }

}


class threehive_post_scraper extends PostScraper
{


    function getDate()
    {
        $date = $this->xpath->query("//span[@class='posted']")->item(0)->nodeValue;
        echo $date;
        list($junk, $date) = explode('on', $date);
        list($date, $junk) = explode('|', $date);
        return date('Y-m-d', strtotime($date));
        
    }
   
    function prepareTrack($track)
    {
        $track['artist'] = strtolower($this->removeQuotes(trim($this->getTitle())));
        $track['song'] = $track['name'];
        return $track;
    }
}

?>